package epimarket.beans;

import java.io.Serializable;

@SuppressWarnings("serial")
public class Reduction implements Serializable {
	private int id;
	private String value;
	private int target;
	private int type;

	public Reduction()
	{
		this.id = -1;
		this.value = "";
		this.id = -1;
		this.type = -1;
	}
	
	public String toString() {
		String str = "";
		str += "id_reduction = " + this.id + "<br />";
		str += "value = " + this.value + "<br />";
		str += "id = " + this.target + "<br />";
		str += "type = " + this.type + "<br />";
		return str;
	}

	/*
	 * Getter et Setter
	 */
	
	public int getId() {
		return id;
	}

	public void setId(int idd) {
		this.id = idd;
	}
	
	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public int getTarget() {
		return target;
	}

	public void setTarget(int idtarget) {
		this.target = idtarget;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}
}
